GtkPlacesSidebar: Fix Home and Desktop on Windows.
authorMatias De Lellis <mati86dl@gmail.com>
Mon, 1 Dec 2014 20:56:05 +0000 (14:56 -0600)
committerFederico Mena Quintero <federico@gnome.org>
Mon, 1 Dec 2014 20:57:32 +0000 (14:57 -0600)
commitbd71849e26bd6d72fe142f8ea74eeafaf0168431
tree76af903615f9e11549b245c7ac7fa6828866ea84
parentc1c68b409c31d4584362d44d68d24654eea482cf
GtkPlacesSidebar: Fix Home and Desktop on Windows.

We were concatenating "file://" to the result of g_get_user_special_dir() to build
a URI, but this is not enough on Windows.  Use g_filename_to_uri() instead.

See https://bugzilla.gnome.org/show_bug.cgi?id=739453
gtk/gtkplacessidebar.c